﻿namespace EzDesk.DevHelper.EzMLGenerator.EzML
{
    public class NewLineProcessor : RegexReplaceProcessor
    {
        public override string[] RegexStrs
        {
            get
            {
                return new string[] 
                { 
                    @"(?<content>.*)",
                    @"\\n"
                };
            }
        }

        public override string[] ReplaceStrs
        {
            get
            {
                return new string[] 
                {
                    @"<ez:div>${content}</ez:div>",
                    @"</ez:div></ez:div>" 
                };
            }
        }
    }
}
